import request from '@/utils/request'

// 获取成本项目code码
export const apiCostItemsCode = params => request.get('/server/costItemsMax.php', {params})
// 新增，修改成本项目
export const apiAddCostItems = data => request.post('/server/costItemsSave.php', data)
// 成本项目列表
export const apiCostItemsList = () => request.get('/server/costItemsList.php')
// 成本项目删除
export const apiCostItemsDel= params => request.get('/server/costItemsDel.php',{params})
// 成本项目编码 下拉
export const apiCostItemsSel = () => request.get('/server/costItemsSel.php')

// 新增，修改成本记录
export const apiAddCostRecord = data => request.post('/server/costRecordSave.php', data)
// 成本记录列表
export const apiCostRecordList = params => request.get('/server/costRecordList.php',{params})
// 成本记录删除
export const apiCostRecordDel= params => request.get('/server/cosRecordDel.php',{params})

// 站点选择列表
export const apiSiteList = () => request.get('/server/datCaptureSite.php')
